<?
	// sessie check
	include "include/database.php";
	include "classes/cls_sessie.php";
	$result = mysql_query("SELECT * FROM sessie");
	$sessie = new cls_sessie;
	while($test = mysql_fetch_array($result))
	{
		$timenow = date("H:i:s");
		if($sessie->diffTime($test[timestamp], $timenow)>4)
		{
			$sessie->delete($test[id]);
		}	
	}
?>